package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("用户创建参数")
public class ZhikeUsersCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "accountNumber参数缺失")
    @ApiModelProperty(value = "账号")
    private String accountNumber;

    @ApiModelProperty(value = "密码")
    private String userPsw;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @NotNull(message = "nickname参数缺失")
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @NotNull(message = "userSex参数缺失")
    @ApiModelProperty(value = "性别 1 男，0 女")
    private Long userSex;

    @NotNull(message = "userAvatarFileName参数缺失")
    @ApiModelProperty(value = "头像")
    private String userAvatarFileName;

    @NotNull(message = "accountStatus参数缺失")
    @ApiModelProperty(value = "账号状态（1.正常 2.禁用）")
    private String accountStatus;

}
